package com.human.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 考核方案指标关联表
 * @TableName assessment_kpis
 */
@TableName(value ="assessment_kpis")
@Data
public class AssessmentKpis {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 考核方案ID
     */
    private Long assessmentId;

    /**
     * 指标ID
     */
    private Long kpiId;

    /**
     * 权重(1-100)
     */
    private Integer weight;

    /**
     * 指标名称
     */
    private String name;

    /**
     * 创建时间
     */
    private Date createdAt;
}
